package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/Images.class */
public class Images {
    private int id;
    @ApiModelProperty("项目编号")
    private String projectNo;
    @ApiModelProperty("图片类型 zn1:智能硬件  zn2:智能软件 jc:基础 cg:采购")
    private String type;
    @ApiModelProperty("采购资产id")
    private int assetsId;
    private String connect;
    private String createDate;
    private MultipartFile icon;
    private String projectName;

    public void setId(int id) {
        this.id = id;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setAssetsId(int assetsId) {
        this.assetsId = assetsId;
    }

    public void setConnect(String connect) {
        this.connect = connect;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public void setIcon(MultipartFile icon) {
        this.icon = icon;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Images)) {
            return false;
        }
        Images other = (Images) o;
        if (!other.canEqual(this) || getId() != other.getId()) {
            return false;
        }
        Object this$projectNo = getProjectNo();
        Object other$projectNo = other.getProjectNo();
        if (this$projectNo == null) {
            if (other$projectNo != null) {
                return false;
            }
        } else if (!this$projectNo.equals(other$projectNo)) {
            return false;
        }
        Object this$type = getType();
        Object other$type = other.getType();
        if (this$type == null) {
            if (other$type != null) {
                return false;
            }
        } else if (!this$type.equals(other$type)) {
            return false;
        }
        if (getAssetsId() != other.getAssetsId()) {
            return false;
        }
        Object this$connect = getConnect();
        Object other$connect = other.getConnect();
        if (this$connect == null) {
            if (other$connect != null) {
                return false;
            }
        } else if (!this$connect.equals(other$connect)) {
            return false;
        }
        Object this$createDate = getCreateDate();
        Object other$createDate = other.getCreateDate();
        if (this$createDate == null) {
            if (other$createDate != null) {
                return false;
            }
        } else if (!this$createDate.equals(other$createDate)) {
            return false;
        }
        Object this$icon = getIcon();
        Object other$icon = other.getIcon();
        if (this$icon == null) {
            if (other$icon != null) {
                return false;
            }
        } else if (!this$icon.equals(other$icon)) {
            return false;
        }
        Object this$projectName = getProjectName();
        Object other$projectName = other.getProjectName();
        return this$projectName == null ? other$projectName == null : this$projectName.equals(other$projectName);
    }

    protected boolean canEqual(Object other) {
        return other instanceof Images;
    }

    public int hashCode() {
        int result = (1 * 59) + getId();
        Object $projectNo = getProjectNo();
        int result2 = (result * 59) + ($projectNo == null ? 43 : $projectNo.hashCode());
        Object $type = getType();
        int result3 = (((result2 * 59) + ($type == null ? 43 : $type.hashCode())) * 59) + getAssetsId();
        Object $connect = getConnect();
        int result4 = (result3 * 59) + ($connect == null ? 43 : $connect.hashCode());
        Object $createDate = getCreateDate();
        int result5 = (result4 * 59) + ($createDate == null ? 43 : $createDate.hashCode());
        Object $icon = getIcon();
        int result6 = (result5 * 59) + ($icon == null ? 43 : $icon.hashCode());
        Object $projectName = getProjectName();
        return (result6 * 59) + ($projectName == null ? 43 : $projectName.hashCode());
    }

    public String toString() {
        return "Images(id=" + getId() + ", projectNo=" + getProjectNo() + ", type=" + getType() + ", assetsId=" + getAssetsId() + ", connect=" + getConnect() + ", createDate=" + getCreateDate() + ", icon=" + getIcon() + ", projectName=" + getProjectName() + PoiElUtil.RIGHT_BRACKET;
    }

    public int getId() {
        return this.id;
    }

    public String getProjectNo() {
        return this.projectNo;
    }

    public String getType() {
        return this.type;
    }

    public int getAssetsId() {
        return this.assetsId;
    }

    public String getConnect() {
        return this.connect;
    }

    public String getCreateDate() {
        return this.createDate;
    }

    public MultipartFile getIcon() {
        return this.icon;
    }

    public String getProjectName() {
        return this.projectName;
    }
}